Valued\WordPress\BasePlugin S

Total Complexity 34
Dependencies 5
Dependents 3
Total lines 196
Lines of code 140
Logical lines of code 55
Comment lines 14
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
init()
S
58 3 15
getOption()
S
63 3 11
locateTemplate()
S
69 3 6
activatePlugin()
S
61 1 16
showUpdateNotice()
S
68 2 7
getInstance()
S
70 2 6
addUpdateNoticeDismissScript()
S
61 1 13
getDefaultConfig()
S
68 1 8
getVersion()
S
82 1 3
shouldDisplayUpdateNotice()
S
69 1 7
dismissUpdateNotice()
S
72 1 6
getUpdateNoticeDismissedAjaxHook()
S
80 1 3
getUpdateNoticeClass()
S
80 1 3
getUpdateNotices()
S
82 1 3
getUpdateMessage()
S
79 1 3
getSlug()
S
100 1 0
getActiveGtinPlugin()
S
76 1 4
getName()
S
100 1 0
getPluginFile()
S
74 1 4
render()
S
71 1 6
getInviteErrorsTable()
S
78 1 3
getOptionName()
S
79 1 3
loadTranslations()
S
70 1 7
getDashboardDomain()
S
100 1 0
getMainDomain()
S
100 1 0
isWoocommerceActivated()
S
80 1 3